package com.softWang.system.controller.vo.systemUsers;

import com.softWang.common.validation.InEnum;
import com.softWang.system.constants.DataScopeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

@Data
public class SystemUsersEditParam {

    @ApiModelProperty(value = "主键id")
    @NotNull(message = "id不能为空")
    private Long id;

    @ApiModelProperty(value = "用户名，最大长度为60位")
    @NotBlank(message = "uname不能为空")
    @Size(max = 60, message = "uname最大长度为60位")
    private String uname;


    @ApiModelProperty(value = "登录账户，最大长度为60位")
    @NotBlank(message = "loginName不能为空")
    @Size(max = 60,message = "loginName最大长度为60位")
    private String loginName;

    @ApiModelProperty(value = "所属部门id")
    private Long deptid;

    @ApiModelProperty(value = "手机号号码")
    private String tel;

    @ApiModelProperty(value = "性别，1:男;2:女;0:未知")
    private String sex;

    @ApiModelProperty(value = "邮箱")
    private String email;

    @ApiModelProperty(value = "用户头像")
    private Long avatar;

    private List<Long> roleIds;


}